<?php

/**
 * gfFrontendActions executes all the logic for the current request.
 *
 * @package    amarula
 * @subpackage entertain
 * @author     Batanayi Matuku
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class gfFrontendActions extends sfActions
{
    protected function _getAnswerCommentForm()
    {
        $answerComment = new AnswerComment();
        if ($this->getUser()->isAuthenticated())
        {
            $answerComment->setUserId($this->getUser()->getDpUser()->getId());
        }
        $this->answerCommentForm = new AnswerCommentForm($answerComment);
    }
}